home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Examples / EnterpriseObjects / DistributedEO / DEOServer.tproj / DEOProtocols.h next >
Encoding:
Text File  |  1995-02-17  |  867 b   |  29 lines

  1. /*
  2.    DEOProtocols.h created by enoyau on Fri 13-Jan-1995
  3.  
  4.    You may freely copy, distribute, and reuse the code in this example.
  5.    NeXT disclaims any warranty of any kind, expressed or implied, as to its
  6.    fitness for any particular use.
  7. */
  8. // Communication protocols between the DEONotificationCenter and the
  9. // DEOServer.
  10.  
  11. #import <foundation/NSString.h>
  12. #import <foundation/NSDictionary.h>
  13.  
  14. #define wantLog YES
  15.  
  16. #define DEOServerName "DEOServer"
  17.  
  18. @protocol DEOClient
  19. - (oneway)dispatchInformation:(NSDictionary *)info
  20.                        forKey:(NSString *)key
  21.                      userInfo:(NSDictionary *)userInfo;
  22. @end
  23.  
  24. @protocol DEOServer <DEOClient>
  25. - (oneway)registerClient:(id <DEOClient>)client forKey:(NSString *)key;
  26. - (oneway)unregisterClient:(id <DEOClient>)client forKey:(NSString *)key;
  27. - (oneway)unregisterClient:(id <DEOClient>)client;
  28. @end
  29.